Use intersphinx inventory files from other Debian packages.
authorDiane Trout <diane@ghic.org>
Sat, 2 Mar 2019 14:59:35 +0000 (14:59 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Sat, 2 Mar 2019 14:59:35 +0000 (14:59 +0000)
Forwarded: not-needed

Gbp-Pq: Name use-system-inventory

docs/source/conf.py

index 91f4c7b1aa26e5b2a4ac6700b1826982f848c812..13a4da567669f93af5d8ce8001dfb9be77517969 100644 (file)
@@ -321,11 +321,11 @@ epub_copyright = u'2009-2017, Josef Perktold, Skipper Seabold, Jonathan Taylor,
 
 # Example configuration for intersphinx: refer to the Python standard library.
 intersphinx_mapping = {
-        'numpy' : ('https://docs.scipy.org/doc/numpy/', None),
-        'python' : ('https://docs.python.org/3.2', None),
+        'numpy' : ('https://docs.scipy.org/doc/numpy/', '/usr/share/doc/python-numpy-doc/html/objects.inv'),
+        'python' : ('https://docs.python.org/3.2', '/usr/share/doc/python3-doc/html/objects.inv'),
         'pydagogue' : ('http://matthew-brett.github.io/pydagogue/', None),
-        'patsy' : ('http://patsy.readthedocs.io/en/latest/', None),
-        'pandas' : ('http://pandas.pydata.org/pandas-docs/stable/', None),
+        'patsy' : ('http://patsy.readthedocs.io/en/latest/', '/usr/share/doc/python-patsy-doc/html/objects.inv'),
+        'pandas' : ('http://pandas.pydata.org/pandas-docs/stable/', '/usr/share/doc/python-pandas-doc/html/objects.inv'),
         }
 
 from os.path import dirname, abspath, join